/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.ensma.ia.miniblog.sbeans;

import fr.ensma.ia.miniblog.persistence.Article;
import fr.ensma.ia.miniblog.persistence.Commentaire;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author LeBlero
 */
@Local
public interface ICommentaireLocal {

    public Commentaire createCommentaire(Commentaire c);

    public Commentaire getCommentaireById(Long id);

    public void deleteCommentaire(Commentaire c);

    public List<Commentaire> getCommentairesByArticle(Article a);

}
